# Maintainer: Balló György <ballogyor+arch at gmail dot com>

_pkgname=pykeepass
pkgname=python-pykeepass
pkgver=4.0.6
pkgrel=1
pkgdesc="Python library to interact with keepass databases"
arch=('any')
url="https://github.com/libkeepass/pykeepass"
license=('GPL3')
depends=(python-argon2_cffi python-construct python-dateutil python-future python-lxml python-pycryptodomex)
makedepends=(python-setuptools)
source=("https://github.com/libkeepass/$_pkgname/archive/v$pkgver/$_pkgname-$pkgver.tar.gz")
sha256sums=('05c486145a075a328f08677d47fe3bc3f587b325b7832719b6ee226a2c0f57ee')

build() {
  cd $_pkgname-$pkgver
  python3 setup.py build
}

package() {
  cd $_pkgname-$pkgver
  python3 setup.py install --root="$pkgdir" --optimize=1
}
